/*
**  Apache License, Version 2.0
**  Notes:Use this command to anonymously check out the latest project source code:
**  Non-members may check out a read-only working copy anonymously over HTTP.
**  SVN checkout http://YHHCatiaBaseUtlWsp.googlecode.com/svn/trunk/ 
**
**  Author:		Kevin Yang
**  Email:		Bigearrabbit@qq.com
**
**  DATE:		2013-4-4
**
**  File Name:	YHHListV.h
**
**  Notes:
** 
*/
#ifndef YHHListV_H
#define YHHListV_H
#include <vector>

namespace YHH
{
	/// <summary>Define Vector template</summary>
	/// <author>Kevin Yang</author>
	/// <date>2013-4-4</date>
	template<class T>
	class ListV:public std::vector<T>
	{//Define Vector template

	public:

		/// <summary>construct</summary>
		ListV();//construct

		/// <summary>destructor</summary>
		~ListV(); //destructor
	public:

		/// <summary>Append</summary>
		/// <param name="_Val">Input value</param>
		/// <return></return>
		/// <remarks></remarks>
		/// <author>Kevin Yang</author>
		/// <date>2013-4-4</date>
		void Append(const T & _Val);
	protected:


	};
	//---------------------------------------------------------
	template <class T>
	ListV<T>::ListV()
	{
	}
	//---------------------------------------------------------
	template <class T>
	ListV<T>::~ListV()
	{
	}
	//---------------------------------------------------------
	template <class T>
	void ListV<T>::Append(const T & _Val)
	{
		this->push_back(_Val);//push back
	}
	//---------------------------------------------------------

}//YHH

//-----------------------------------------------------------------------

#endif
